import './index.scss';
import router from './router/index.js'
import Vue from 'vue';
import App from './App.vue';
import Vuex from 'vuex';

Vue.use(Vuex);

let store = new Vuex.Store({
    state: {
        count: 0
    },
    mutations: {
        increment(state) {
            state.count++;
        }
    }
})

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app');